<weui-items>
  <weui-item *ngFor="let riskCheckItem of values" (click)="detail(riskCheckItem)">
    <div weui-start class="mr-3">
      <span *ngIf="riskCheckItem?.status == 'checking'">
        <div class="circle-text-checking">{{riskCheckItem?.status | riskCheckItemStatus}}</div>
      </span>
      <span *ngIf="riskCheckItem?.status == 'finished'">
        <div class="circle-text-finished">{{riskCheckItem?.status | riskCheckItemStatus}}</div>
      </span>
    </div>

    <div weui-content>
      <h2 class="text-secondary">{{riskCheckItem?.checkName}}</h2>
      <p>
        <i class="fa fa-tasks"></i>&nbsp; 任务数量:&nbsp;
        <span class="weui-badge" style="margin-left: 5px;">{{riskCheckItem?.executions?.length}}</span>
      </p>
    </div>

    <p weui-last weui-note>截止时间 : {{riskCheckItem?.dueDate | date : 'y-M-d'}}</p>

  </weui-item>
</weui-items>

